/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/dept',
  component: Layout,
  name: 'dept',
  meta: {
    title: '部门管理',
    icon: 'el-icon-box'
  },
  children: [
    {
      path: 'organ',
      component: () => import('@/views/dept/organ'),
      name: 'organ',
      meta: { title: '部门人员', noCache: true, icon: 'list' }
    },
    {
      path: 'process',
      component: () => import('@/views/dept/process'),
      name: 'process',
      meta: { title: '审批流程', noCache: true, icon: 'list' }
    },
    {
      path: 'disk',
      component: () => import('@/views/dept/disk'),
      name: 'disk',
      meta: { title: '部门云盘', noCache: true, icon: 'list' }
    },
    {
      path: 'disk-index',
      component: () => import('@/views/dept/components/disk/disk-index'),
      name: 'disk-index',
      meta: { title: '云盘文件', noCache: true, icon: 'list' },
      hidden: true
    }
  ]
}
